package com.zysc.processflow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zysc.processflow.entity.SpuDetail;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

/**
 * @Author: Mr.Liuyijiang
 * @Description:
 * @Date Created in 2022-06-09 10:07
 * @Modified By:
 */
@Repository
public interface SpuDetailMapeer extends BaseMapper<SpuDetail> {
    @Delete("delete from `tb_spu_detail` where spu_id = #{id};")
    void deleteSpuDetailBySpuId(Long id);
}
